<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="/pages/js/jquery.min.js"></script>
    <script type="text/javascript">
        function prePage() {
            alert("aaaa");
            $("a").unbind("click");
        }
        $("a").click(function(){
            return false;
        })

    </script>
</head>
<body>
    <a href="javascript:void(0);" onclick="prePage()">上一页</a>
</body>
</html>